package com.yll.dao;


import com.yll.domain.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {

    boolean save(Users users);

    boolean update(Users users);

    boolean delete(Integer id);

    Users findById(Integer id);

    List<Users> findAll();

    Users getUsernamAndPassword(@Param("username") String username,@Param("password") String password);

}
